package kr.couponplay.android.activity;

import java.util.HashMap;
import java.util.Map;

public class ResourceUtils {
	static Map<String, Integer> drawableMap = new HashMap<String, Integer>() {{
		put("shopping", R.drawable.m_shop_32_on);
		put("food", R.drawable.m_food_32_on);
		put("beauty", R.drawable.m_makeup_32_on);
		put("culture", R.drawable.m_video_32_on);
		put("trip", R.drawable.m_plane_32_on);
	}};
	
	public static int getDrawable(String code) {
		return drawableMap.get(code);
	}
}
